all: dict_client dict_server
dict_client: dict_client.cc
	g++ -o $@ $^ -std=c++11 -I./include -L./lib -lmuduo_net -lmuduo_base -lpthread
dict_server: dict_server.cc
	g++ -o $@ $^ -std=c++11 -I./include -L./lib -lmuduo_net -lmuduo_base -lpthread
# -I 指定头文件目录 -L指定库的位置
.PHONY:clean
clean:
	rm -f dict_server